<template>
    <div class="category">
        <h3 >{{title}}</h3>
        <slot name="center"></slot>
        <slot name="footer"></slot>
    </div>
</template>

<script>
    export default {
        name:'Category',
        props:['title']
    }
</script>

<style scoped>
  .category{
    background: skyblue;
    width: 200px;
    height: 300px;
  }
  h3 {
    text-align: center;
    background: orange;
  }
  img {
    width: 100%;
  }
</style>